<template>
  <PageBox :data="dataInfo" @searchBtn="getTbody">
    <template #isDisable="{ row }">
      <ElTagBox :data="row.isDisable" :options="[
        {
          label: '启用',
          value: 0,
          type: 'success',
        },
        {
          label: '禁用',
          value: 1,
          type: 'info',
        },
      ]" />
    </template>
  </PageBox>
</template>

<script setup lang="ts">
import './pageCss.scss'; // 引入样式
import { useListComponent } from './pageTs'; // 引入逻辑
const { dataInfo, getTbody } = useListComponent();
</script>
